<input type="text" class="inputInteger {if $complexField}complexField{/if}" value="{$value}" name="{if $complexField}{$complexField}[{$id}][{$complexStep}]{else}{$id}{/if}" {if $id == 'listings_range_to' || $id == 'listings_range_from' || $id == 'period'}style="width: 50px;"{/if}/>